package com.liip.platform.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @description 部门信息
 * @author 罗林
 * @date 2020-03-25 17:06:18
 */
public class Branch implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 部门id
    */
    private Integer id;

    /**
    * 部门名称
    */
    private String name;

    /**
    * 编号
    */
    private String code;

    /**
    * 父id
    */
    private Integer parentId;

    /**
    * 层级
    */
    private Integer level;

    /**
    * 排序号
    */
    private Integer sort;

    /**
    * 创建时间
    */
    private Date createdat;

    /**
    * 更新时间
    */
    private Date updatedat;


    public Branch() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreatedat() {
        return createdat;
    }

    public void setCreatedat(Date createdat) {
        this.createdat = createdat;
    }

    public Date getUpdatedat() {
        return updatedat;
    }

    public void setUpdatedat(Date updatedat) {
        this.updatedat = updatedat;
    }

}